package org.blogwu.learn.temp.string;

public class StringTest {
    public static void main(String[] args) {
//        String name = new String("s1");
//        change(name);
//        System.out.println(name);
        String s1 = "HxellHo";
        System.out.println(s1.replace("H", "VVVV"));

        char cc = 'G';
        String s2 = String.valueOf(cc);
        System.out.println(s2);
        cc = 'S';
        System.out.println(s2);
    }

    public static void change(String name) {
        name = "Hello ";
    }

    public static void cc() {
        String a = "sss";
        a = a + "是撒洒洒水所";
        a = a + 6;

    }
}
